home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!nibelung.demon.co.uk
- From: barry.1@nibelung.demon.co.uk (Barry Shilliday)
- Newsgroups: comp.sys.amiga.misc
- Subject: Amigados - checking for a file
- Date: Sat, 06 Apr 1996 03:03:48 GMT
- Message-ID: <401.6670T240T431@nibelung.demon.co.uk>
- NNTP-Posting-Host: nibelung.demon.co.uk
- X-NNTP-Posting-Host: nibelung.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- What would be the format to check the existence of a file in a script for dos?
- I would have thought something like this:
-
- If EXISTS blah:filename
- dowhatever
- else
- dothatinstead
- endif
- endif
-
- but this doesn't work.
-
- --
- 06-Apr-96 03:58:31
-
- Barry Shilliday -- <barry@nibelung.demon.co.uk>
- A1200/030/50/8+2/170 - KS 3.1
- Public PGP Key available on request.
-
-